package com.indigon.parkStory.data.levels
{
	public class ClusterData
	{
		public var id  : String;
		public var num : uint;
		
		public var levels : Vector.<LevelData>
		
		public function ClusterData(xml:XML, num:uint)
		{
			this.num = num;
			this.id  = String(xml.@id);
			
			var i : uint;
			
			levels = new Vector.<LevelData>();
			for each (var levelXML : XML in xml.level)
			{
				levels.push(new LevelData(levelXML, i));
				i++;
			}
		}
	}
}